package com.kxmall.order.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 购物车
 */

@Data
@ApiModel("购物车")
@EqualsAndHashCode(callSuper = true)
public class KxStoreCartBo extends BaseEntity {

    /**
     * 购物车ID
     */
    @ApiModelProperty(value = "购物车ID")
    private Long id;

    /**
     * 购物车ID
     */
    @ApiModelProperty(value = "购物车ID")
    private Long cartId;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    private Long oid;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long productId;

    /**
     * 购买东西的详细信息
     */
    @ApiModelProperty(value = "购买东西的详细信息")
    private String cartInfo;

    /**
     * 唯一ID
     */
    @ApiModelProperty(value = "唯一ID")
    private String unique;

    /**
     * 是否能售后 0不能 1能
     */
    @ApiModelProperty(value = "是否能售后 0不能 1能")
    private Integer isAfterSales;


}
